package com.example.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by 33566 on 2017/6/20.
 */
@RestController
public class HelloController {

//    @Value("${my.name}")
//    private String myname;
//
//    @Value("${my.love}")
//    private String mylove;

    @RequestMapping("/aaa")
    public String testMethod() {
        System.out.println("---------------- test");

        return "hello " ;
    }
}
